home *** CD-ROM | disk | FTP | other *** search
- '------------------------------------------------------------------------------
- ' <autogenerated>
- ' This code was generated by a tool.
- ' Runtime Version: 1.0.3705.0
- '
- ' Changes to this file may cause incorrect behavior and will be lost if
- ' the code is regenerated.
- ' </autogenerated>
- '------------------------------------------------------------------------------
-
- Option Strict Off
- Option Explicit On
-
- Imports System
- Imports System.ComponentModel
- Imports System.Diagnostics
- Imports System.Web.Services
- Imports System.Web.Services.Protocols
- Imports System.Xml.Serialization
-
- '
- 'This source code was auto-generated by Microsoft.VSDesigner, Version 1.0.3705.0.
- '
- Namespace localhost
-
- '<remarks/>
- <System.Diagnostics.DebuggerStepThroughAttribute(), _
- System.ComponentModel.DesignerCategoryAttribute("code"), _
- System.Web.Services.WebServiceBindingAttribute(Name:="ConverterSoap", [Namespace]:="http://www.vb2themax.com/")> _
- Public Class Converter
- Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
-
- '<remarks/>
- Public Sub New()
- MyBase.New
- Me.Url = "http://localhost/MoneyConverter/converter.asmx"
- End Sub
-
- '<remarks/>
- <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.vb2themax.com/EuroToDollar", RequestNamespace:="http://www.vb2themax.com/", ResponseNamespace:="http://www.vb2themax.com/", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
- Public Function EuroToDollar(ByVal amount As Decimal) As Decimal
- Dim results() As Object = Me.Invoke("EuroToDollar", New Object() {amount})
- Return CType(results(0),Decimal)
- End Function
-
- '<remarks/>
- Public Function BeginEuroToDollar(ByVal amount As Decimal, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
- Return Me.BeginInvoke("EuroToDollar", New Object() {amount}, callback, asyncState)
- End Function
-
- '<remarks/>
- Public Function EndEuroToDollar(ByVal asyncResult As System.IAsyncResult) As Decimal
- Dim results() As Object = Me.EndInvoke(asyncResult)
- Return CType(results(0),Decimal)
- End Function
-
- '<remarks/>
- <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.vb2themax.com/DollarToEuro", RequestNamespace:="http://www.vb2themax.com/", ResponseNamespace:="http://www.vb2themax.com/", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
- Public Function DollarToEuro(ByVal amount As Decimal) As Decimal
- Dim results() As Object = Me.Invoke("DollarToEuro", New Object() {amount})
- Return CType(results(0),Decimal)
- End Function
-
- '<remarks/>
- Public Function BeginDollarToEuro(ByVal amount As Decimal, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
- Return Me.BeginInvoke("DollarToEuro", New Object() {amount}, callback, asyncState)
- End Function
-
- '<remarks/>
- Public Function EndDollarToEuro(ByVal asyncResult As System.IAsyncResult) As Decimal
- Dim results() As Object = Me.EndInvoke(asyncResult)
- Return CType(results(0),Decimal)
- End Function
- End Class
- End Namespace
-